<div ID="view_coach" class="view">
<h2><?php  __('Coach');?>: <?php echo $coach['Coach']['strName']; ?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
        <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Username');?></dt>
            <dd<?php if ($i++ % 2 == 0) echo $class;?>><?php echo $coach['User']['username'];?>&nbsp;</dd>
	</dl>
<br>
<div class="related">
<?php
if(isset($teams)) {
	echo $this->element('teams', array('teams'=>$teams, 'title' => __('Teams',true), 'nocoach' => true));
} ?>
</div>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Edit Coach', true), array('action' => 'edit', $coach['Coach']['ID'])); ?> </li>
		<li><?php echo $html->link(__('Delete Coach', true), array('action' => 'delete', $coach['Coach']['ID']), null, sprintf(__('Are you sure you want to delete # %s?', true), $coach['Coach']['ID'])); ?> </li>
		<li><?php echo $html->link(__('List Coaches', true), array('action' => 'index')); ?> </li>
    </ul>
</div>

